Skip to content

Add maximize button to MutationRatesDialog#791

Merged
chrxh merged 4 commits into
developfrom
claude/mutation-rates-dialog-maximize
Jul 11, 2026
Merged

Add maximize button to MutationRatesDialog#791
chrxh merged 4 commits into
developfrom
claude/mutation-rates-dialog-maximize

Conversation

@chrxh

@chrxh chrxh commented Jul 9, 2026

Copy link
Copy Markdown
Owner

Summary

  • Port AlienWindow's maximize icon/behavior into AlienDialog (modal popups) as an opt-in maximizable constructor flag.
  • Enable it for MutationRatesDialog, adding a maximize/restore icon to its titlebar so it can fill the viewport.

Test plan

  • build-windows-ninja.bat 16 builds clean
  • EngineInterfaceTests.exe passes (159 tests)
  • Manual click-through of the maximize button in the running app (not done in this session)

chrxh added 4 commits July 9, 2026 09:23
Port AlienWindow's maximize behavior into AlienDialog (opt-in flag),
enable it for MutationRatesDialog.
AlienWindow and AlienDialog now both call AlienGui::TitlebarMaximizeButton
instead of duplicating the icon/hover-circle drawing code.
BeginPopupModal() clips widgets below its native titlebar, so the
button drawn there was culled. Widen the clip rect for that call.
@chrxh chrxh marked this pull request as ready for review July 11, 2026 08:26
@chrxh chrxh merged commit c502778 into develop Jul 11, 2026
1 check passed
@chrxh chrxh deleted the claude/mutation-rates-dialog-maximize branch July 11, 2026 08:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant